package com.example.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 原材料配置表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 1.0-SNAPSHOT 2025-04-29
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class ZyRawMaterialsConfigExcel {
    @ExcelProperty(value = "Long", index = 0)
    private Long dishId;
    @ExcelProperty(value = "String", index = 1)
    private String materialName;
    @ExcelProperty(value = "Object", index = 2)
    private Object materialSpecification;
    @ExcelProperty(value = "String", index = 3)
    private String unitOfMeasure;
    @ExcelProperty(value = "BigDecimal", index = 4)
    private BigDecimal quantity;
    @ExcelProperty(value = "Long", index = 5)
    private Long supplierId;
    @ExcelProperty(value = "String", index = 6)
    private String qualityStandard;
    @ExcelProperty(value = "BigDecimal", index = 7)
    private BigDecimal costPerUnit;
    @ExcelProperty(value = "BigDecimal", index = 8)
    private BigDecimal totalCost;
    @ExcelProperty(value = "Object", index = 9)
    private Object alternativeMaterials;
    @ExcelProperty(value = "Date", index = 10)
    private Date expirationDate;
    @ExcelProperty(value = "String", index = 11)
    private String notes;
}